-
Notifications
You must be signed in to change notification settings - Fork 4k
JavaScript Challenge Feature for Application Gateway Firewall Policy Settings #24425
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
JavaScript Challenge Feature for Application Gateway Firewall Policy Settings #24425
Conversation
️✔️Az.Accounts
️✔️Az.ApplicationInsights
️✔️Az.Batch
️✔️Az.CognitiveServices
️✔️Az.Compute
️✔️Az.ContainerRegistry
️✔️Az.CosmosDB
️✔️Az.DataLakeStore
️✔️Az.Dns
️✔️Az.EventHub
|
Type | Title | Current Coverage | Description |
---|---|---|---|
Test Coverage Less Than 50% | 22.09 % | Test coverage for the module cannot be lower than 50%. |
⚠️ - MacOS
Type | Title | Current Coverage | Description |
---|---|---|---|
Test Coverage Less Than 50% | 22.09% | Test coverage for the module cannot be lower than 50%. |
⚠️ PowerShell Core - Windows
Type | Title | Current Coverage | Description |
---|---|---|---|
Test Coverage Less Than 50% | 22.09% | Test coverage for the module cannot be lower than 50%. |
⚠️ Windows PowerShell - Windows
Type | Title | Current Coverage | Description |
---|---|---|---|
Test Coverage Less Than 50% | 22.09% | Test coverage for the module cannot be lower than 50%. |
️✔️Az.ManagedServiceIdentity
️✔️Build
️✔️PowerShell Core - Windows
️✔️Windows PowerShell - Windows
⚠️ Az.Monitor
️✔️Build
️✔️PowerShell Core - Windows
️✔️Windows PowerShell - Windows
⚠️ Test
⚠️ - Linux
Type Title Current Coverage Description ⚠️ Test Coverage Less Than 50% 18.18 % Test coverage for the module cannot be lower than 50%.
⚠️ - MacOS
Type Title Current Coverage Description ⚠️ Test Coverage Less Than 50% 18.18% Test coverage for the module cannot be lower than 50%.
⚠️ PowerShell Core - Windows
Type Title Current Coverage Description ⚠️ Test Coverage Less Than 50% 18.18% Test coverage for the module cannot be lower than 50%.
⚠️ Windows PowerShell - Windows
Type Title Current Coverage Description ⚠️ Test Coverage Less Than 50% 18.18% Test coverage for the module cannot be lower than 50%.
️✔️Az.NetAppFiles
️✔️Build
️✔️PowerShell Core - Windows
️✔️Windows PowerShell - Windows
️✔️Test
️✔️ - Linux
️✔️ - MacOS
️✔️PowerShell Core - Windows
️✔️Windows PowerShell - Windows
⚠️ Az.Network
️✔️Build
️✔️PowerShell Core - Windows
️✔️Windows PowerShell - Windows
️✔️Breaking Change Check
️✔️PowerShell Core - Windows
️✔️Windows PowerShell - Windows
️✔️Signature Check
️✔️PowerShell Core - Windows
️✔️Windows PowerShell - Windows
⚠️ Help Example Check
⚠️ PowerShell Core - Windows
Type Cmdlet Example Line RuleName Description Extent Remediation ⚠️ New-AzApplicationGatewayFirewallPolicySetting 1 1 Unassigned_Variable New-AzApplicationGatewayFirewallPolicySetting -State $enabledState is a null-valued parameter value. -State Assign value for $enabledState. ⚠️ New-AzApplicationGatewayFirewallPolicySetting 1 1 Unassigned_Variable New-AzApplicationGatewayFirewallPolicySetting -Mode $enabledMode is a null-valued parameter value. -Mode Assign value for $enabledMode. ⚠️ New-AzApplicationGatewayFirewallPolicySetting 1 1 Unassigned_Variable New-AzApplicationGatewayFirewallPolicySetting -MaxFileUploadInMb $fileUploadLimitInMb is a null-valued parameter value. -MaxFileUploadInMb Assign value for $fileUploadLimitInMb. ⚠️ New-AzApplicationGatewayFirewallPolicySetting 1 1 Unassigned_Variable New-AzApplicationGatewayFirewallPolicySetting -MaxRequestBodySizeInKb $maxRequestBodySizeInKb is a null-valued parameter value. -MaxRequestBodySizeInKb Assign value for $maxRequestBodySizeInKb. ⚠️ New-AzApplicationGatewayFirewallPolicySetting 2 1 Unassigned_Variable New-AzApplicationGatewayFirewallPolicySetting -State $enabledState is a null-valued parameter value. -State Assign value for $enabledState. ⚠️ New-AzApplicationGatewayFirewallPolicySetting 2 1 Unassigned_Variable New-AzApplicationGatewayFirewallPolicySetting -Mode $enabledMode is a null-valued parameter value. -Mode Assign value for $enabledMode. ⚠️ New-AzApplicationGatewayFirewallPolicySetting 2 1 Unassigned_Variable New-AzApplicationGatewayFirewallPolicySetting -MaxFileUploadInMb $fileUploadLimitInMb is a null-valued parameter value. -MaxFileUploadInMb Assign value for $fileUploadLimitInMb. ⚠️ New-AzApplicationGatewayFirewallPolicySetting 2 1 Unassigned_Variable New-AzApplicationGatewayFirewallPolicySetting -MaxRequestBodySizeInKb $maxRequestBodySizeInKb is a null-valued parameter value. -MaxRequestBodySizeInKb Assign value for $maxRequestBodySizeInKb. ⚠️ New-AzApplicationGatewayFirewallPolicySetting 2 1 Unassigned_Variable New-AzApplicationGatewayFirewallPolicySetting -LogScrubbing $logScrubbingRuleConfig is a null-valued parameter value. -LogScrubbing Assign value for $logScrubbingRuleConfig. ⚠️ New-AzApplicationGatewayFirewallPolicySetting 3 1 Unassigned_Variable New-AzApplicationGatewayFirewallPolicySetting -State $enabledState is a null-valued parameter value. -State Assign value for $enabledState. ⚠️ New-AzApplicationGatewayFirewallPolicySetting 3 1 Unassigned_Variable New-AzApplicationGatewayFirewallPolicySetting -Mode $enabledMode is a null-valued parameter value. -Mode Assign value for $enabledMode. ⚠️ New-AzApplicationGatewayFirewallPolicySetting 3 1 Unassigned_Variable New-AzApplicationGatewayFirewallPolicySetting -MaxFileUploadInMb $fileUploadLimitInMb is a null-valued parameter value. -MaxFileUploadInMb Assign value for $fileUploadLimitInMb. ⚠️ New-AzApplicationGatewayFirewallPolicySetting 3 1 Unassigned_Variable New-AzApplicationGatewayFirewallPolicySetting -MaxRequestBodySizeInKb $maxRequestBodySizeInKb is a null-valued parameter value. -MaxRequestBodySizeInKb Assign value for $maxRequestBodySizeInKb. ⚠️ New-AzApplicationGatewayFirewallPolicySetting 4 1 Unassigned_Variable New-AzApplicationGatewayFirewallPolicySetting -State $enabledState is a null-valued parameter value. -State Assign value for $enabledState. ⚠️ New-AzApplicationGatewayFirewallPolicySetting 4 1 Unassigned_Variable New-AzApplicationGatewayFirewallPolicySetting -Mode $enabledMode is a null-valued parameter value. -Mode Assign value for $enabledMode. ⚠️ New-AzApplicationGatewayFirewallPolicySetting 4 1 Unassigned_Variable New-AzApplicationGatewayFirewallPolicySetting -MaxFileUploadInMb $fileUploadLimitInMb is a null-valued parameter value. -MaxFileUploadInMb Assign value for $fileUploadLimitInMb. ⚠️ New-AzApplicationGatewayFirewallPolicySetting 4 1 Unassigned_Variable New-AzApplicationGatewayFirewallPolicySetting -MaxRequestBodySizeInKb $maxRequestBodySizeInKb is a null-valued parameter value. -MaxRequestBodySizeInKb Assign value for $maxRequestBodySizeInKb. ⚠️ New-AzApplicationGatewayFirewallPolicySetting 4 1 Unassigned_Variable New-AzApplicationGatewayFirewallPolicySetting -JSChallengeCookieExpirationInMins $jsChallengeCookieExpirationInMins is a null-valued parameter value. -JSChallengeCookieExpirationInMins Assign value for $jsChallengeCookieExpirationInMins.
⚠️ Windows PowerShell - Windows
Type Cmdlet Example Line RuleName Description Extent Remediation ⚠️ New-AzApplicationGatewayFirewallPolicySetting 1 1 Unassigned_Variable New-AzApplicationGatewayFirewallPolicySetting -State $enabledState is a null-valued parameter value. -State Assign value for $enabledState. ⚠️ New-AzApplicationGatewayFirewallPolicySetting 1 1 Unassigned_Variable New-AzApplicationGatewayFirewallPolicySetting -Mode $enabledMode is a null-valued parameter value. -Mode Assign value for $enabledMode. ⚠️ New-AzApplicationGatewayFirewallPolicySetting 1 1 Unassigned_Variable New-AzApplicationGatewayFirewallPolicySetting -MaxFileUploadInMb $fileUploadLimitInMb is a null-valued parameter value. -MaxFileUploadInMb Assign value for $fileUploadLimitInMb. ⚠️ New-AzApplicationGatewayFirewallPolicySetting 1 1 Unassigned_Variable New-AzApplicationGatewayFirewallPolicySetting -MaxRequestBodySizeInKb $maxRequestBodySizeInKb is a null-valued parameter value. -MaxRequestBodySizeInKb Assign value for $maxRequestBodySizeInKb. ⚠️ New-AzApplicationGatewayFirewallPolicySetting 2 1 Unassigned_Variable New-AzApplicationGatewayFirewallPolicySetting -State $enabledState is a null-valued parameter value. -State Assign value for $enabledState. ⚠️ New-AzApplicationGatewayFirewallPolicySetting 2 1 Unassigned_Variable New-AzApplicationGatewayFirewallPolicySetting -Mode $enabledMode is a null-valued parameter value. -Mode Assign value for $enabledMode. ⚠️ New-AzApplicationGatewayFirewallPolicySetting 2 1 Unassigned_Variable New-AzApplicationGatewayFirewallPolicySetting -MaxFileUploadInMb $fileUploadLimitInMb is a null-valued parameter value. -MaxFileUploadInMb Assign value for $fileUploadLimitInMb. ⚠️ New-AzApplicationGatewayFirewallPolicySetting 2 1 Unassigned_Variable New-AzApplicationGatewayFirewallPolicySetting -MaxRequestBodySizeInKb $maxRequestBodySizeInKb is a null-valued parameter value. -MaxRequestBodySizeInKb Assign value for $maxRequestBodySizeInKb. ⚠️ New-AzApplicationGatewayFirewallPolicySetting 2 1 Unassigned_Variable New-AzApplicationGatewayFirewallPolicySetting -LogScrubbing $logScrubbingRuleConfig is a null-valued parameter value. -LogScrubbing Assign value for $logScrubbingRuleConfig. ⚠️ New-AzApplicationGatewayFirewallPolicySetting 3 1 Unassigned_Variable New-AzApplicationGatewayFirewallPolicySetting -State $enabledState is a null-valued parameter value. -State Assign value for $enabledState. ⚠️ New-AzApplicationGatewayFirewallPolicySetting 3 1 Unassigned_Variable New-AzApplicationGatewayFirewallPolicySetting -Mode $enabledMode is a null-valued parameter value. -Mode Assign value for $enabledMode. ⚠️ New-AzApplicationGatewayFirewallPolicySetting 3 1 Unassigned_Variable New-AzApplicationGatewayFirewallPolicySetting -MaxFileUploadInMb $fileUploadLimitInMb is a null-valued parameter value. -MaxFileUploadInMb Assign value for $fileUploadLimitInMb. ⚠️ New-AzApplicationGatewayFirewallPolicySetting 3 1 Unassigned_Variable New-AzApplicationGatewayFirewallPolicySetting -MaxRequestBodySizeInKb $maxRequestBodySizeInKb is a null-valued parameter value. -MaxRequestBodySizeInKb Assign value for $maxRequestBodySizeInKb. ⚠️ New-AzApplicationGatewayFirewallPolicySetting 4 1 Unassigned_Variable New-AzApplicationGatewayFirewallPolicySetting -State $enabledState is a null-valued parameter value. -State Assign value for $enabledState. ⚠️ New-AzApplicationGatewayFirewallPolicySetting 4 1 Unassigned_Variable New-AzApplicationGatewayFirewallPolicySetting -Mode $enabledMode is a null-valued parameter value. -Mode Assign value for $enabledMode. ⚠️ New-AzApplicationGatewayFirewallPolicySetting 4 1 Unassigned_Variable New-AzApplicationGatewayFirewallPolicySetting -MaxFileUploadInMb $fileUploadLimitInMb is a null-valued parameter value. -MaxFileUploadInMb Assign value for $fileUploadLimitInMb. ⚠️ New-AzApplicationGatewayFirewallPolicySetting 4 1 Unassigned_Variable New-AzApplicationGatewayFirewallPolicySetting -MaxRequestBodySizeInKb $maxRequestBodySizeInKb is a null-valued parameter value. -MaxRequestBodySizeInKb Assign value for $maxRequestBodySizeInKb. ⚠️ New-AzApplicationGatewayFirewallPolicySetting 4 1 Unassigned_Variable New-AzApplicationGatewayFirewallPolicySetting -JSChallengeCookieExpirationInMins $jsChallengeCookieExpirationInMins is a null-valued parameter value. -JSChallengeCookieExpirationInMins Assign value for $jsChallengeCookieExpirationInMins. ️✔️Help File Existence Check
️✔️PowerShell Core - Windows
️✔️Windows PowerShell - Windows
️✔️File Change Check
️✔️PowerShell Core - Windows
️✔️Windows PowerShell - Windows
️✔️UX Metadata Check
️✔️PowerShell Core - Windows
️✔️Windows PowerShell - Windows
⚠️ Test
⚠️ - Linux
Type Title Current Coverage Last Coverage Description ⚠️ Test Coverage Less Than 80% 78.58 % 84.35% Test coverage cannot be lower than the number of the last release.
⚠️ - MacOS
Type Title Current Coverage Last Coverage Description ⚠️ Test Coverage Less Than 80% 78.58% 84.35% Test coverage cannot be lower than the number of the last release.
⚠️ PowerShell Core - Windows
Type Title Current Coverage Last Coverage Description ⚠️ Test Coverage Less Than 80% 78.58% 84.35% Test coverage cannot be lower than the number of the last release.
⚠️ Windows PowerShell - Windows
Type Title Current Coverage Last Coverage Description ⚠️ Test Coverage Less Than 80% 78.58% 84.35% Test coverage cannot be lower than the number of the last release.
️✔️Az.OperationalInsights
️✔️Build
️✔️PowerShell Core - Windows
️✔️Windows PowerShell - Windows
️✔️Az.PrivateDns
️✔️Build
️✔️PowerShell Core - Windows
️✔️Windows PowerShell - Windows
️✔️Test
️✔️ - Linux
️✔️ - MacOS
️✔️PowerShell Core - Windows
️✔️Windows PowerShell - Windows
️✔️Az.RecoveryServices
️✔️Build
️✔️PowerShell Core - Windows
️✔️Windows PowerShell - Windows
️✔️Test
️✔️ - Linux
️✔️ - MacOS
️✔️PowerShell Core - Windows
️✔️Windows PowerShell - Windows
️✔️Az.Resources
️✔️Build
️✔️PowerShell Core - Windows
️✔️Windows PowerShell - Windows
️✔️Az.Security
️✔️Build
️✔️PowerShell Core - Windows
️✔️Windows PowerShell - Windows
️✔️Test
️✔️ - Linux
️✔️ - MacOS
️✔️PowerShell Core - Windows
️✔️Windows PowerShell - Windows
️✔️Az.ServiceBus
️✔️Build
️✔️PowerShell Core - Windows
️✔️Windows PowerShell - Windows
️✔️Test
️✔️ - Linux
️✔️ - MacOS
️✔️PowerShell Core - Windows
️✔️Windows PowerShell - Windows
️✔️Az.SignalR
️✔️Build
️✔️PowerShell Core - Windows
️✔️Windows PowerShell - Windows
️✔️Test
️✔️ - Linux
️✔️ - MacOS
️✔️PowerShell Core - Windows
️✔️Windows PowerShell - Windows
️✔️Az.Sql
️✔️Build
️✔️PowerShell Core - Windows
️✔️Windows PowerShell - Windows
️✔️Test
️✔️ - Linux
️✔️ - MacOS
️✔️PowerShell Core - Windows
️✔️Windows PowerShell - Windows
️✔️Az.Storage
️✔️Build
️✔️PowerShell Core - Windows
️✔️Windows PowerShell - Windows
️✔️Az.Websites
️✔️Build
️✔️PowerShell Core - Windows
️✔️Windows PowerShell - Windows
️✔️Test
️✔️ - Linux
️✔️ - MacOS
️✔️PowerShell Core - Windows
️✔️Windows PowerShell - Windows
...etwork/Network/FirewallPolicy/PolicySettings/AzureApplicationGatewayFirewallPolicySetting.cs
Show resolved
Hide resolved
...etwork/Network/FirewallPolicy/PolicySettings/AzureApplicationGatewayFirewallPolicySetting.cs
Show resolved
Hide resolved
@@ -446,3 +446,4 @@ | |||
"Az.Network","Microsoft.Azure.Commands.Network.UpdateAzureRmP2SVpnGatewayCommand","Update-AzP2sVpnGateway","1","8700","Parameter set 'ByP2SVpnGatewayResourceIdNoVpnServerConfigurationUpdate', 'ByP2SVpnGatewayResourceIdByVpnServerConfigurationObject' of cmdlet 'Update-AzP2sVpnGateway' have the same mandatory parameters, and both of them are not default parameter set which may cause confusion.","Merge these parameter sets into one parameter set." | |||
"Az.Network","Microsoft.Azure.Commands.Network.Bastion.NewAzBastionCommand","New-AzBastion","1","8410","Parameter EnableKerberos of cmdlet New-AzBastion does not follow the enforced naming convention of using a singular noun for a parameter name.","Consider using a singular noun for the parameter name." | |||
"Az.Network","Microsoft.Azure.Commands.Network.Bastion.SetAzBastionCommand","Set-AzBastion","1","8410","Parameter EnableKerberos of cmdlet Set-AzBastion does not follow the enforced naming convention of using a singular noun for a parameter name.","Consider using a singular noun for the parameter name." | |||
"Az.Network","Microsoft.Azure.Commands.Network.NewAzureApplicationGatewayFirewallPolicySettingCommand","New-AzApplicationGatewayFirewallPolicySetting","1","8410","Parameter JSChallengeCookieExpirationInMins of cmdlet New-AzApplicationGatewayFirewallPolicySetting does not follow the enforced naming convention of using a singular noun for a parameter name.","Consider using a singular noun for the parameter name." |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@Shawnli222, can you rename the parameter using a singular noun instead of suppressing the issue?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
We have to make it the same as the swagger PR so it had to be like this
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Here is the swagger link: Azure/azure-rest-api-specs#28011
This PR was labeled "needs-revision" because it has unresolved review comments or CI failures. |
Description
Allow customers to add expiration time for JSChallenge Cookie for application gateway firewall policy settings. This feature is built on the existing Firewall PolicySettings framework. A new field JsChallengeCookieExpirationInMins is added to provide JavaScript Challenge Feature.
Swagger PR link: Azure/azure-rest-api-specs#28011
Mandatory Checklist
Please choose the target release of Azure PowerShell
Check this box to confirm: I have read the Submitting Changes section of
CONTRIBUTING.md
and reviewed the following information:ChangeLog.md
file(s) appropriatelysrc/{{SERVICE}}/{{SERVICE}}/ChangeLog.md
.## Upcoming Release
header in the past tense.ChangeLog.md
if no new release is required, such as fixing test case only.